package com.yuxi.initbean.idol.properties;

import com.yuxi.initbean.idol.construct.Performer;

/**
 * Created by yuxi on 2017/8/6.
 */
public class Instrumentlist implements Performer {
    //需要乐器和乐曲
    private Instrument instrument;

    public Instrument getInstrument() {
        return instrument;
    }

    public void setInstrument(Instrument instrument) {
        this.instrument = instrument;
    }

    private String song;

    public String getSong() {
        return song;
    }

    public void setSong(String song) {
        this.song = song;
    }

    @Override
    public void perform() {
        System.out.println("it is my show time ....---" + song);
        instrument.play();
    }
}
